package com.abel.ignite;

import java.util.List;

/**
 * @author xiachao
 * @date 2019-04-28
 */

public interface DMLFactory {

    List<List<?>> query(String cacheName, String sql);

    boolean insert(String cacheName, String sql);

    boolean update(String cacheName, String sql);

    boolean delete(String cacheName, String sql);

}
